/* scene_pattern_p1.cpp
 *
 * Summary: Scene Pattern proof of concept 1
 * Author: Zhicheng Miao <zhicheng.miao@gmail.com>
 */
#include <memory>
#include "Scene.hpp"
#include "A.hpp"


int main(void) {
    std::auto_ptr<Scene> sc(Scene::Factory());

    A* a = sc->Allocate<A>();
    sc->Destroy(a);
    int *i = sc->Allocate<int>();
    sc->Destroy(i);
    return 0;
}
